package com.itheima;

import java.util.Collections;

/**
 * 2025/3/31 21:01
 */
public class StudentTest {
    public static void main(String[] args) {
        Student s1 = new Student();
        //赋值
        s1.name = "播妞";
        s1.chinese = 100;
        s1.math = 100;

        Student s2 = new Student();
        //赋值
        s2.name = "播仔";
        s2.chinese = 59;
        s2.math = 100;
        //调用对象的方法
        s1.printTotalScore();
        s1.printAvgScore();

        s2.printTotalScore();
        s2.printAvgScore();
    }
}
